package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.Table;
import java.io.Serializable;
													    import java.util.Date;
																																
/**
 *
 * <h1>系统菜单表表 micro_system_menu</h1>
 * @author levelcoder
 * @date 2020-08-04 00:11:10
 */
@ApiModel(description = "系统菜单表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_system_menu")
public class SystemMenu implements Serializable{

	private static final long serialVersionUID = 1L;

	@Id
    @ApiModelProperty(value = "主键编号")
	private Long id;

	
			
					/**
			 * 菜单编号
			 */
        	@ApiModelProperty(value = "菜单编号")
			private String menuCode;

			
					/**
			 * 菜单名称
			 */
        	@ApiModelProperty(value = "菜单名称")
			private String menuName;

			
					/**
			 * 父级菜单编号
			 */
        	@ApiModelProperty(value = "父级菜单编号")
			private String parentCode;

			
					/**
			 * 菜单类型
			 */
        	@ApiModelProperty(value = "菜单类型")
			private String menuType;

			
					/**
			 *  菜单描述
			 */
        	@ApiModelProperty(value = " 菜单描述")
			private String menuDesc;

			
					/**
			 * 菜单路径
			 */
        	@ApiModelProperty(value = "菜单路径")
			private String menuUrl;

			
					/**
			 * 菜单图标
			 */
        	@ApiModelProperty(value = "菜单图标")
			private String menuIcon;

			
					/**
			 * 授权编码
			 */
        	@ApiModelProperty(value = "授权编码")
			private String authCode;

			
					/**
			 * 菜单排序
			 */
        	@ApiModelProperty(value = "菜单排序")
			private Integer menuSort;

			
					/**
			 * 菜单状态 1.启用 2.禁用
			 */
        	@ApiModelProperty(value = "菜单状态 1.启用 2.禁用")
			private Byte menuStatus;

			
					/**
			 * 菜单上下级关系
			 */
        	@ApiModelProperty(value = "菜单上下级关系")
			private String menuPath;

			
					/**
			 * 创建时间
			 */
        	@ApiModelProperty(value = "创建时间")
			private Date createTime;

			
					/**
			 * 修改时间
			 */
        	@ApiModelProperty(value = "修改时间")
			private Date updateTime;

			
					/**
			 * 菜单在前端对应的组件
			 */
        	@ApiModelProperty(value = "菜单在前端对应的组件")
			private String menuComponent;

			}
